import { Provide } from '@midwayjs/core';
import { BaseService } from '@cool-midway/core';
import { InjectEntityModel } from '@midwayjs/typeorm';
import { Repository } from 'typeorm';
import { DeviceAlertEntity } from '../entity/alert';

/**
 * 报警设置
 */
@Provide()
export class DeviceAlertService extends BaseService {
  @InjectEntityModel(DeviceAlertEntity)
  deviceAlertEntity: Repository<DeviceAlertEntity>;
}